package com.bootdo.order.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.order.dao.ReplenishmentOrderDetailDao;
import com.bootdo.order.domain.ReplenishmentOrderDetailDO;
import com.bootdo.order.service.ReplenishmentOrderDetailService;
import org.springframework.transaction.annotation.Transactional;



@Service
@Transactional
public class ReplenishmentOrderDetailServiceImpl implements ReplenishmentOrderDetailService {
	@Autowired
	private ReplenishmentOrderDetailDao replenishmentOrderDetailDao;
	
	@Override
	public ReplenishmentOrderDetailDO get(Long id){
		return replenishmentOrderDetailDao.get(id);
	}
	
	@Override
	public List<ReplenishmentOrderDetailDO> list(Map<String, Object> map){
		return replenishmentOrderDetailDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return replenishmentOrderDetailDao.count(map);
	}
	
	@Override
	public int save(ReplenishmentOrderDetailDO replenishmentOrderDetail){
		return replenishmentOrderDetailDao.save(replenishmentOrderDetail);
	}
	
	@Override
	public int update(ReplenishmentOrderDetailDO replenishmentOrderDetail){
		return replenishmentOrderDetailDao.update(replenishmentOrderDetail);
	}
	
	@Override
	public int remove(Long id){
		return replenishmentOrderDetailDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return replenishmentOrderDetailDao.batchRemove(ids);
	}
	
}
